package com.hong.serviceuser.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hong.model.model.user.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {
    UserInfo selectByPhone(String phone);

    void updateStatus(@Param("userId") long userId, @Param("status") Integer status);
}
